#define _CRT_SECURE_NO_WARNINGS
#include<math.h>
#include<stdio.h>
int main()
{
	int a=1, b=2;
	a = a ^ b ;
	b = a ^ b;//a^b^b=a
	a = b ^ a;//b^a=a^a^b=b
	printf("%d %d", b, a);
	return 0;
}